--[[
* 能量变更后
*]]
---@class BuffEffect71 : BaseBuffEffect
BuffEffect71 = ClientFight.CreateClass("BuffEffect71", ClientFight.BaseBuffEffect)
local t = BuffEffect71
---@param fight Fight
---@param buff FighterBuff

function t:action(fight, buff, ...)
    local target = buff.target;
    local parameters = {...};
    if (table.getn(parameters) < 3)  then
    return IBuffEffect.FAIL;
    end

    local result = parameters[3];
    if (not result:isDamage())then
    return IBuffEffect.FAIL;
    end
    if (not AttackUtils.isDamage(resultstate))then
    return IBuffEffect.FAIL;
    end
    result.NO_ENERGY = true;
    SkillRoleMgr.savePathFile( "[" .. fightframe .. "][EFFECT]Fighter " .. buff.targetfighterId .. " Buff"
    .. buffmodelId .. " 触发本次伤害 敌人不加能量 ");
    return  ClientFight.BaseBuffEffect.action(self, fight, buff, parameters);
    end

    t.New()